package com.esun.payment_api.mapper;

import com.esun.payment_api.domain.SysDictInvContent;
import com.esun.payment_api.domain.SysDictInvContentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SysDictInvContentMapper {
    long countByExample(SysDictInvContentExample example);

    int deleteByExample(SysDictInvContentExample example);

    int deleteByPrimaryKey(Short id);

    int insert(SysDictInvContent record);

    int insertSelective(SysDictInvContent record);

    List<SysDictInvContent> selectByExample(SysDictInvContentExample example);

    SysDictInvContent selectByPrimaryKey(Short id);

    int updateByExampleSelective(@Param("record") SysDictInvContent record, @Param("example") SysDictInvContentExample example);

    int updateByExample(@Param("record") SysDictInvContent record, @Param("example") SysDictInvContentExample example);

    int updateByPrimaryKeySelective(SysDictInvContent record);

    int updateByPrimaryKey(SysDictInvContent record);

    //查询开票内容字典表
    List<SysDictInvContent> selectByCoId(@Param("coId") Short coId, @Param("word") String word);
}